home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-in_the_mag-
/
pdselect
/
blizkick
/
bkapi.lha
/
bkapi
/
Makefile
< prev
next >
Wrap
Makefile
|
2000-01-15
|
630b
|
39 lines
#
# bkapi makefile for egcs (GCC)
#
MAKE = make
ADOC = autodoc -a -C -c -I
### c defines ###
CFLAGS = -noixemul -ansi -m68020-60 -Wall -O -msmall-code
CC = gcc $(CFLAGS) -c
LINK = gcc $(CFLAGS) -s
#LINK = gcc $(CFLAGS)
OBJS = bkapi.o
HDRS = myregargs.h bkapi.h
LIBS =
# modify/add stuff here
all: loadresident bkapi.doc
clean:
rm -rf loadresident bkapi.doc *.info *.o *.tmp *.lnk
bkapi.doc: bkapi.c
$(ADOC) bkapi.c >$@
bkapi.o: bkapi.c bkapi.h
$(CC) bkapi.c -o $@
loadresident.o: loadresident.c $(HDRS)
$(CC) loadresident.c -o $@
loadresident: $(OBJS) loadresident.o
$(LINK) $(OBJS) loadresident.o $(LIBS) -o $@